Skip to content

Add dashboard UI, JS, CSS, and template #15

Merged
merged 1 commit into from
Mar 5, 2026
Merged

Conversation

ezehf2
Copy link
Owner

@ezehf2 ezehf2 commented Mar 5, 2026

Introduce the front-end for the Smart Campus Environmental Monitor: adds a Jinja2 dashboard template (index.html) with stats, live readings table, active alerts panel and a placeholder for historical charts; adds style.css with themed layout, cards, alert and responsive styles; adds dashboard.js to auto-refresh every 30s, update page title with alert count and show last-updated timestamp (contains TODOs for MQTT/Chart.js integration). Also adds a simple requirements.txt with installation instructions for Flask and paho-mqtt (note: the file currently lists commands using python -m install ...).

Introduce the front-end for the Smart Campus Environmental Monitor: adds a Jinja2 dashboard template (index.html) with stats, live readings table, active alerts panel and a placeholder for historical charts; adds style.css with themed layout, cards, alert and responsive styles; adds dashboard.js to auto-refresh every 30s, update page title with alert count and show last-updated timestamp (contains TODOs for MQTT/Chart.js integration). Also adds a simple requirements.txt with installation instructions for Flask and paho-mqtt (note: the file currently lists commands using `python -m install ...`).
@ezehf2 ezehf2 merged commit bce1954 into main Mar 5, 2026
@ezehf2 ezehf2 deleted the Dashboard-Skeleton branch March 5, 2026 21:09
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant